Skip to content

Normalize action hashes to point to commits#565

Merged
llucax merged 3 commits into
frequenz-floss:v0.x.xfrom
llucax:fix-hashes
Apr 27, 2026
Merged

Normalize action hashes to point to commits#565
llucax merged 3 commits into
frequenz-floss:v0.x.xfrom
llucax:fix-hashes

Conversation

@llucax
Copy link
Copy Markdown
Contributor

@llucax llucax commented Apr 1, 2026

The hashes we are using are the annotatted git tag object, but depenabot like to have the pins to the actual commit object the tag points to, not the tag itself.

So we replace the hash to make dependabot happy:

Action Change
gh-action-setup-git 16952aa -> f9d86a0 (v1.0.0)
gh-action-setup-python-with-deps 0d0d77e -> e4d0b2e (v1.0.2)

@llucax llucax requested a review from a team as a code owner April 1, 2026 11:04
@llucax llucax requested review from simonvoelcker and removed request for a team April 1, 2026 11:04
@github-actions github-actions Bot added the part:template Affects the cookiecutter template files label Apr 1, 2026
@llucax llucax marked this pull request as draft April 1, 2026 11:04
@llucax
Copy link
Copy Markdown
Contributor Author

llucax commented Apr 1, 2026

Depends on #555.

@llucax llucax force-pushed the fix-hashes branch 2 times, most recently from b461af2 to ba34473 Compare April 24, 2026 13:45
@llucax llucax marked this pull request as ready for review April 24, 2026 13:47
@llucax
Copy link
Copy Markdown
Contributor Author

llucax commented Apr 24, 2026

Ready for review now.

@llucax llucax enabled auto-merge April 24, 2026 13:48
@llucax llucax requested a review from Marenz April 24, 2026 13:48
llucax added 3 commits April 27, 2026 13:47
The hashes we are using are the annotatted git tag object, but depenabot
like to have the pins to the actual commit object the tag points to, not
the tag itself.

So we replace the hash to make dependabot happy:

gh-action-setup-git:                16952aa -> f9d86a0 (v1.0.0)
gh-action-setup-python-with-deps:   0d0d77e -> e4d0b2e (v1.0.2)

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Add a migration script step to update the GitHub Action hashes for
`gh-action-setup-git` and `gh-action-setup-python-with-deps` to point to
the actual commit object instead of the annotated tag object.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax added this pull request to the merge queue Apr 27, 2026
Merged via the queue into frequenz-floss:v0.x.x with commit 9fdaa4b Apr 27, 2026
7 checks passed
@llucax llucax deleted the fix-hashes branch April 27, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:template Affects the cookiecutter template files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants